package com.bw.ppjokeplay.common.network

import com.bw.ppjokeplay.mvvm.model.entity.HomeFeedEntity
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query

interface Api {

    companion object{
        const val BASEURL : String = "http://123.56.232.18:8080/serverdemo/"
    }

    @GET("feeds/queryHotFeedsList")
    fun requestHomeList(@Query("feedId")feedId : Int,
                        @Query("feedType")feedType:String,
                        @Query("pageCount")pageCount:Int,
                        @Query("userId")userId:Int):
            Observable<HomeFeedEntity>

}